<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../../js库/mock.js"></script>
    <script src="../../js库/vue.js"></script>
    <title>字体图标下载使用</title>
    <style>
        /* 
            字体图标不用自己写 
                iconmoon
                iconfont
        */
        @font-face {
            font-family: 'icomoon';
            src: url('../icomoon/fonts/icomoon.eot?qgproa');
            src: url('../icomoon/fonts/icomoon.eot?qgproa#iefix') format('embedded-opentype'),
                url('../icomoon/fonts/icomoon.ttf?qgproa') format('truetype'),
                url('../icomoon/fonts/icomoon.woff?qgproa') format('woff'),
                url('../icomoon/fonts/icomoon.svg?qgproa#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
            font-display: block;
        }
        span {
            font-family: 'icomoon';
            font-size: 20px;
        }
    </style>
</head>

<body>
    <div id="root">
       <span></span>
       <span></span>
    </div>
</body>
<script>
    new Vue({
        el: '#root',
        data() {
            return {
            }
        },
    })
</script>

</html>